<script setup lang="ts">
import { onBeforeMount } from "vue"
import setIntroduction from "@/utils/setIconfont"
// 使用中文
import zhCn from "element-plus/es/locale/lang/zh-cn"

const locale = zhCn

onBeforeMount(() => {
  // 设置批量第三方 icon 图标
  setIntroduction.cssCdn()
})
</script>

<template>
  <el-config-provider :locale="locale">
      <router-view />
  </el-config-provider>
</template>

<style lang="sass" scoped></style>
